@import '../../../theme';

.key-editor {
  width: 100%;
  height: 100%;

  &-header {
    background-color: #fafafa;
  }

  &-header,
  &-row {
    display: flex;
    padding: 8px 16px;
    box-sizing: content-box;

    &-l,
    &-m {
      margin-right: 48px;
    }

    &-m {
      flex-shrink: 1;
      flex-grow: 1;
    }

    &-r {
      margin-right: 0;
    }
  }

  &-row {
    border-bottom: 1px solid #e9e9e9;

    .action {
      height: 32px;
      line-height: 32px;
      cursor: pointer;
      color: $primary-color;
    }
  }

  &-list {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-bottom: 24px;
  }

  &-add {
    width: 100%;
    color: $primary-color;
  }
}
